package eu.irreality.dai.gameplay.actions.movement;

import eu.irreality.dai.gameplay.entities.AliveEntity;
import eu.irreality.dai.gameplay.world.GameWorld;
import eu.irreality.dai.util.Position;

public class MoveNorthWestAction extends MovementAction
{

    public MoveNorthWestAction(GameWorld world, AliveEntity entity)
    {
	super(world, entity);
    }

    @Override
    protected Position getDestinationPosition()
    {
	Position pos = entity.getPosition();
	return new Position(pos.getRow() - 1, pos.getCol() - 1);
    }

}
